/*
 * Copyright 2010 Biz-e (info@biz-e.nl)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package nl.biz_e.urenfact.shared.model;

import javax.persistence.Id;

import nl.biz_e.appengine.lib.shared.objectify.IEntity;

import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

/**
 * TODO: Write type comment
 * 
 * @author Joost A. Bloemsma
 */
@Unindexed
public class Address implements IEntity {
    @Id
    private Long id;
    private String visitAddress;
    @Indexed
    private String visitCity;
    private String visitZip;
    private String postalAddress;
    @Indexed
    private String postalCity;
    private String postalZip;

    /**
     * {@inheritDoc}
     */
    @Override
    public Long getId() {
        return id;
    }

    /**
     * @return the visitAddress
     */
    public String getVisitAddress() {
        return visitAddress;
    }

    /**
     * @param visitAddress
     *            the visitAddress to set
     */
    public void setVisitAddress(String visitAddress) {
        this.visitAddress = visitAddress;
    }

    /**
     * @return the visitCity
     */
    public String getVisitCity() {
        return visitCity;
    }

    /**
     * @param visitCity
     *            the visitCity to set
     */
    public void setVisitCity(String visitCity) {
        this.visitCity = visitCity;
    }

    /**
     * @return the visitZip
     */
    public String getVisitZip() {
        return visitZip;
    }

    /**
     * @param visitZip
     *            the visitZip to set
     */
    public void setVisitZip(String visitZip) {
        this.visitZip = visitZip;
    }

    /**
     * @return the postalAddress
     */
    public String getPostalAddress() {
        return postalAddress;
    }

    /**
     * @param postalAddress
     *            the postalAddress to set
     */
    public void setPostalAddress(String postalAddress) {
        this.postalAddress = postalAddress;
    }

    /**
     * @return the postalCity
     */
    public String getPostalCity() {
        return postalCity;
    }

    /**
     * @param postalCity
     *            the postalCity to set
     */
    public void setPostalCity(String postalCity) {
        this.postalCity = postalCity;
    }

    /**
     * @return the postalZip
     */
    public String getPostalZip() {
        return postalZip;
    }

    /**
     * @param postalZip
     *            the postalZip to set
     */
    public void setPostalZip(String postalZip) {
        this.postalZip = postalZip;
    }

}
